<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="配置iBMC时间">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001783062254.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="00-OceanCyber 300 1.1.0 联机帮助">
<meta name="DC.Publisher" content="20241203">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001832329248">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>配置iBMC时间</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ZH-CN_TOPIC_0000001832329248"></a><a name="ZH-CN_TOPIC_0000001832329248"></a>

<h1 class="topictitle1">配置iBMC时间</h1>
<div id="body8662426"><div class="section" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_section14171831018"><h4 class="sectiontitle">背景信息</h4><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p141901691412">iBMC时间的配置仅影响iBMC自身的时间系统，不会影响安全一体机的时间系统。</p>
</div>
<div class="section" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_section7698151215512"><h4 class="sectiontitle">操作步骤</h4><ol id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_ol11430185918359"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232618_li3061316"><span>选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_uicontrol1875213114583">“iBMC管理 &gt; 时区&amp;NTP”</span>。</span><p><div class="fignone" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_fig2085712116559"><span class="figcap"><b>图1 </b>时区&amp;NTP</span><br><span><img id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_image165731312165814" src="zh-cn_image_0000001945659937.png"></span></div>

<div class="tablenoborder"><a name="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_table66002877"></a><a name="zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_table66002877"></a><table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_table66002877" frame="border" border="1" rules="all"><caption><b>表1 </b>时区&amp;NTP</caption><colgroup><col style="width:30.080000000000002%"><col style="width:69.92%"></colgroup><thead align="left"><tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_row28703987"><th align="left" class="cellrowborder" valign="top" width="30.080000000000002%" id="mcps1.3.2.2.1.2.2.2.3.1.1"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_p43321623">参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="69.92%" id="mcps1.3.2.2.1.2.2.2.3.1.2"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_p19390538">描述</p>
</th>
</tr>
</thead>
<tbody><tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_row27129783"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_p50028804"><span style="color:#494949;">时区</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p39611421475">iBMC系统的时区。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p1596124204710">时区信息由“地区”和“时区”组成。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p14961342114720">默认值：“其他”+“UTC”</p>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_note19643524"><span class="notetitle"> 说明： </span><div class="notebody"><ul id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_ul253718515485"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li85374517484">当选择“DHCPv4自动获取”NTP信息时，不需要设置时区信息。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li135375544818">在支持夏令时的时区，iBMC时间会在每年开始夏令时时自动调快1小时，结束夏令时时自动调慢1小时。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li1074832311486">在操作系统中执行时间同步时，为了保证操作系统时间与iBMC时间一致，请执行命令<strong id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_b7764533104911">hwclock --utc -w</strong>。</li></ul>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_row25940988"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p449262018504">NTP使能</p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p144921220115017">使能或禁止iBMC的NTP功能。使能NTP服务后，iBMC系统时间可从NTP服务器同步。</p>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_row30419744"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_p48080227"><span style="color:#494949;">DHCPv4自动获取</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_p2184294"><span style="color:#494949;">无需手动操作，</span><span style="color:#494949;">iBMC</span><span style="color:#494949;">系统自动获取基于IPv4的NTP信息。</span></p>
<div class="notice" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note13923122611519"><span class="noticetitle"> 须知： </span><div class="noticebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p179231526105116">iBMC管理网口的IP地址获取模式为自动获取时，NTP信息获取方式也必须选择自动获取。</p>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row83229419511"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p164225225119"><span style="color:#494949;">DHCPv6自动获取</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p144225213513"><span style="color:#494949;">无需手动操作，</span><span style="color:#494949;">iBMC</span><span style="color:#494949;">系统自动获取基于IPv6的NTP信息。</span></p>
<div class="notice" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note84275215116"><span class="noticetitle"> 须知： </span><div class="noticebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p134219524519">iBMC管理网口的IP地址获取模式为自动获取时，NTP信息获取方式也必须选择自动获取。</p>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row3247117195218"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p113411318522"><span style="color:#494949;">手动配置</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p15341113185218"><span style="color:#494949;">选择手动设置NTP信息后，用户可以手动配置首选NTP服务器地址和备用NTP服务器地址。</span></p>
<div class="notice" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note19341813175213"><span class="noticetitle"> 须知： </span><div class="noticebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p8170143519527">iBMC管理网口的IP地址获取模式为手动配置时，NTP信息获取方式也必须选择手动配置。</p>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row9933136165616"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p1893318619563"><span style="color:#494949;">服务器一～三</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p19752135145716">优先选择的NTP服务器的地址。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p15752151165717">取值范围：IPv4地址、IPv6地址和域名</p>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note9481190105815"><span class="notetitle"> 说明： </span><div class="notebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p112289525814">域名的取值原则：</p>
<ul id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_ul1922814555811"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li19228105185814">最大长度为67个字符。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li182294565811">可由数字、大小写英文字母和连接号（-），点号（.）组成。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li11229185195810">连接号不能作为域名的开头或结尾，点号不能作为域名的开头。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li1622914585810">任意两个点号之间的字符长度不允许超过63。</li></ul>
</div></div>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p13375163095817"><span style="color:#494949;">提供两种选择方案。具体方案请以实际界面为准。</span></p>
<ul id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_ul5375030155819"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li17375630175816">方案一：提供三个NTP服务器。实际使用时，三个服务器地址同时生效。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li10375193012581">方案二：提供三组NTP服务器，每组服务器中，左侧为首选服务器，右侧为备选服务器。实际使用时，按照以下优先级规则选择服务器地址：<ul id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_ul13375103017585"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li1837583085820">分别从每组中选择一个服务器地址。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li337553055818">当某组两个服务器地址均无效时，放弃选择该组服务器地址。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li1337503035815">当某组只有一个服务器地址有效时，选择有效服务器地址。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li237523011582">当某组两个服务器地址均有效时，优先选择IPv6地址。如果均为IPv4或IPv6地址，则优先选择首选服务器地址。</li></ul>
</li></ul>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note16643138105918"><span class="notetitle"> 说明： </span><div class="notebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p16448805914">NTP主备服务器的切换与iBMC和NTP服务器之间的同步时间间隔（最小轮询间隔 ≤ 同步时间间隔 ≤ 最大轮询间隔）有关，当iBMC多次与主用服务器同步无响应时，NTP服务器将切换为备用服务器。</p>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row1690982105616"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p49101219569"><span style="color:#494949;">最小轮询间隔</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p159788327017">iBMC系统从NTP服务器进行时间同步的最小周期，即NTP报文的最小轮询间隔时间。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p1997883219016">如最小轮询间隔为6，表示间隔时间为2的6次方秒，即1分4秒。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p997812322017">取值范围：3～17</p>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note3154175516010"><span class="notetitle"> 说明： </span><div class="notebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p815525511019">iBMC V585及以上版本支持自定义此参数。</p>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row138532239564"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p185302325615"><span style="color:#494949;">最大轮询间隔</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p2942554120">iBMC系统从NTP服务器进行时间同步的最大周期，即NTP报文的最大轮询间隔时间。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p20942352116">如最大轮询间隔为6，表示间隔时间为2的6次方秒，即1分4秒。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p99421459111">取值范围：3～17</p>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note149424519120"><span class="notetitle"> 说明： </span><div class="notebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p79429520113">iBMC V585及以上版本支持自定义此参数。</p>
</div></div>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row116061719165615"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p13606519105614"><span style="color:#494949;">服务器身份认证</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p20308151411118">iBMC系统与NTP服务器通信时，是否需要进行身份认证。</p>
<p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p530871414120">默认值：关闭</p>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_row9981415305"><td class="cellrowborder" valign="top" width="30.080000000000002%" headers="mcps1.3.2.2.1.2.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p1998515608"><span style="color:#494949;">上传NTP组密钥</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.92%" headers="mcps1.3.2.2.1.2.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p9984156012"><span style="color:#494949;">当开启服务器身份认证时，需要上传密钥到</span><span style="color:#494949;">iBMC</span><span style="color:#494949;">，用于与NTP服务器通信时的身份认证。</span></p>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note15217331511"><span class="notetitle"> 说明： </span><div class="notebody"><ul id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_ul1166111394112"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li146617392111">您可以自行下载密钥生成器（例如ntp-keygen）生成所需密钥。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li16661339217">仅支持上传MD5和SHA256算法生成的秘钥文件。</li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li26611139616">请定期更新秘钥，否则可能存在安全风险。</li></ul>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li></ol><ol start="2" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232331_ol53579435"><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li1054912217543"><span><span style="color:#494949;">在“地区”和“时区”下拉列表中，选择要设置的参数</span>。</span></li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232331_li31795157"><span><span style="color:#494949;">单击“保存”。</span></span><p><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p1392913571863">显示“操作成功”表示设置成功。</p>
<div class="note" id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_note17527981873"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p952712817715">在操作系统中执行时间同步时，为了保证操作系统时间与iBMC时间一致，请执行命令<strong id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_b171762130713">hwclock --utc -w</strong>。</p>
</div></div>
</p></li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li112801257138"><span><span style="color:#494949;">在“NTP功能”区域框中，根据</span><a href="#ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_zh-cn_topic_0223232640_table66002877">表1 时区&amp;NTP</a><span style="color:#494949;">提供的参数信息，设置NTP信息</span>。</span></li><li id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_li024615218819"><span><span style="color:#494949;">单击“保存”。</span></span><p><p id="ZH-CN_TOPIC_0000001832329248__zh-cn_topic_0000001829822749_p152463214811">显示“操作成功”表示设置成功。</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="zh-cn_topic_0000001783062254.html">系统</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>